import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 修改 跟节点字体大小， （可以 使用 手动监听屏幕宽度变化 改变根节点字体大小 或 媒体查询 替换 此框架）
import 'lib-flexible'

// 初始化样式 放在 其他样式 之前
import './common/style/base.scss'

import { Button, Card, Tabbar, TabbarItem, Icon,  Swipe, 
  SwipeItem, Image as VanImage, Field, Toast, SwipeCell, Checkbox, Stepper, 
  SubmitBar, List, PullRefresh, GoodsAction, GoodsActionIcon, GoodsActionButton, Dialog, Sku   } from 'vant';
Vue.use(Button).use(Card).use(Tabbar).use(TabbarItem).use(Icon).use( Swipe).use(SwipeItem)
    .use(VanImage).use(Field).use(Toast).use(SwipeCell).use(Checkbox).use(Stepper ).use(SubmitBar )
    .use(List).use(PullRefresh).use(GoodsAction).use( GoodsActionIcon).use(GoodsActionButton).use(Dialog)
    .use(Sku)

Vue.config.productionTip = false;

// 引入 全局 字体图标样式
import './assets/iconfont/iconfont.css'


new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
